Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Wilkins2012-08-31 04:05:40 +0000
committerGreg Wilkins2012-08-31 04:05:40 +0000
commit8331b1db71779b41601da3fbca7ea6b8d7359651 (patch)
tree67e4bad767707700b8fb3f050cded8a96b70a088
parent83dbca655339be227621e0e6822fc387be9974dd (diff)
downloadorg.eclipse.jetty.project-8331b1db71779b41601da3fbca7ea6b8d7359651.tar.gz
org.eclipse.jetty.project-8331b1db71779b41601da3fbca7ea6b8d7359651.tar.xz
org.eclipse.jetty.project-8331b1db71779b41601da3fbca7ea6b8d7359651.zip
jetty-9 some useful debug
-rw-r--r--jetty-spdy/spdy-jetty/src/test/java/org/eclipse/jetty/spdy/SSLEngineLeakTest.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/jetty-spdy/spdy-jetty/src/test/java/org/eclipse/jetty/spdy/SSLEngineLeakTest.java b/jetty-spdy/spdy-jetty/src/test/java/org/eclipse/jetty/spdy/SSLEngineLeakTest.java
index c6641fe2db..f563d482e0 100644
--- a/jetty-spdy/spdy-jetty/src/test/java/org/eclipse/jetty/spdy/SSLEngineLeakTest.java
+++ b/jetty-spdy/spdy-jetty/src/test/java/org/eclipse/jetty/spdy/SSLEngineLeakTest.java
@@ -64,10 +64,16 @@ public class SSLEngineLeakTest extends AbstractTest
Thread.sleep(1000);
// Perform GC to be sure that the WeakHashMap is cleared
- System.gc();
Thread.sleep(1000);
+ System.gc();
// Check that the WeakHashMap is empty
+ if (objects.size()!=initialSize)
+ {
+ System.err.println(objects);
+ server.dumpStdErr();
+ }
+
Assert.assertEquals(initialSize, objects.size());
}

Back to the top